home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 5 / 005.d81 / t.diet program < prev    next >
Text File  |  2022-08-26  |  1KB  |  85 lines

  1.          -- DIET PROGRAM --
  2.  
  3.  
  4. Sent in by: Sandy Davidson
  5.             SE 2280 Old Olympic Hwy.
  6.             Shelton, WA  98584
  7.  
  8.  
  9. Revised for the C-64 by Donna K. Woody
  10.  
  11.  
  12.   Sandy writes:  '... the user types
  13.  
  14. in such variables as his present
  15.  
  16. weight, activity level, and the number
  17.  
  18. of calories he wishes to eat per day
  19.  
  20. while he's dieting.  The computer will
  21.  
  22. then figure his projected weight over
  23.  
  24. a predetermined number of weeks.  The
  25.  
  26. actual weight loss formula was taken
  27.  
  28. from a military fitness guide, which
  29.  
  30. states that sedentary people burn 16
  31.  
  32. calories per pound per day, moderately
  33.  
  34. active people burn 17 calories, and
  35.  
  36. active people burn 18 calories per
  37.  
  38. pound per day.  I then subtracted the
  39.  
  40. calories needed to sustain weight.
  41.  
  42. The excess calories are then tallied
  43.  
  44. weekly and divided by the amount of
  45.  
  46. calories in a pound (3,500) to deter-
  47.  
  48. mine weekly weight loss (or gain).'
  49.  
  50.   'To me, the most important feature
  51.  
  52. is the data subroutine.  Rather than
  53.  
  54. telling the user 'You will weigh 130
  55.  
  56. in 10 weeks if you eat 1,000 calories
  57.  
  58. a day', it tells him 'You will weigh
  59.  
  60. 130 on 5-26-84 if you eat 1,000
  61.  
  62. calories a day.'  This has proven to
  63.  
  64. be the most useful feature of the pro-
  65.  
  66. gram.  It helps motivate the dieter
  67.  
  68. and gives him a definite goal.'
  69.  
  70.   'The DATA statements at the end are
  71.  
  72. left blank for the user to fill in
  73.  
  74. his/her motivating 'diet thoughts for
  75.  
  76. the day.'  A few are included for demo
  77.  
  78. purposes.'
  79.  
  80.  
  81.  
  82. >Files used: DIET PROGRAM
  83.  
  84. --------------------------------------
  85.